<?php
	require_once("db_connection.php");
	
	//$id= "AU-" . uniqid();
	$account_type 	  =$_POST['account_type'];
	$name 		  	  = $_POST['name'];
	$user_address	  = $_POST['user_address'];
	$contact_no	  	  = $_POST['contact_no'];
	$email		  	  = $_POST['email'];
	$username	  	  = $_POST['username'];
	$confirm_password = md5($_POST['confirm_password']);
	
	
	$insert ="INSERT INTO user(user, password, account_type, address, email, contact_no)
			  VALUES('$username', '$confirm_password', '$account_type', '$user_address',  '$email', '$contact_no');
			 ";
	mysql_query($insert);
	echo "sent";


?>